import Vue from 'vue'
import { Button, Form, FormItem, Input } from 'element-ui'
// 导入弹框提示
import { Message } from 'element-ui'
// home组件
import { Container, Aside, Main, Header } from 'element-ui'
//菜单栏
import { Menu, Submenu, MenuItemGroup, MenuItem } from 'element-ui'
//user组件
import { Breadcrumb, BreadcrumbItem, Card, Row, Col, Table, TableColumn, Switch, Tooltip, Pagination, Dialog, Timeline, TimelineItem } from 'element-ui'
import { MessageBox, Tag, Carousel, CarouselItem, Tree, Option, Select, Cascader, Alert, Tabs, tabPane, Steps, Step, CheckboxGroup, Checkbox, Upload } from 'element-ui';


Vue.use(Timeline)
Vue.use(TimelineItem)
Vue.use(Upload)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Step)
Vue.use(Steps)
Vue.use(Tabs)
Vue.use(tabPane)
Vue.use(Alert)
Vue.use(Cascader)
Vue.use(Select)
Vue.use(Option)
Vue.use(Tree)
Vue.use(CarouselItem)
Vue.use(Carousel)
Vue.use(Tag)
Vue.use(Dialog)
Vue.use(Pagination)
Vue.use(Tooltip)
Vue.use(Switch)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Row)
Vue.use(Col)
Vue.use(Card)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Container)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Header)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItemGroup)
Vue.use(MenuItem)
Vue.component('el-input', Input)
Vue.component('el-form', Form)
Vue.component('el-form-item', FormItem)
Vue.component('el-button', Button)
Vue.prototype.$message = Message
Vue.prototype.$messageBox = MessageBox
Vue.prototype.$confirm = MessageBox.confirm